import { get, post } from "@/utils/http";

export const getRiskTypeApi = (params) => get("/risk/getRiskType", params); //获取风险类型
export const getLeaderInfo = (params) => post("/risk/govern/getLeaderInfo", params); //治理人查询
export const batchAddLeaders = (params) => post("/risk/govern/batchAddLeaders", params); //批量添加治理人
export const addRiskGovernData = (params) => post("/risk/govern/addRiskGovernData", params); //添加治理数据
export const getRiskListBySearchAndFilterApi = (params) => post("/risk/govern/getRiskListBySearchAndFilter", params); //获取风险列表（新）
export const getRiskDataList = (params) => post("/risk/govern/getRiskDataList", params); //获取风险数据列表
export const getFeModelCfgList = (params) => post("/risk/govern/getFeModelCfgList", params); //获取条件列表
export const updateGovernStatus = (params) => post("/risk/govern/updateGovernStatus", params); //治理状态变更
export const getSearchConditionValue = (params) => post("/risk/govern/getSearchConditionValue", params); //获取条件值
export const batchGetSearchConditionValueApi = (params) => post("/risk/govern/batchGetSearchConditionValue", params); //通过type+source+批量查询条件类型 获取条件内容
export const getGovernBaseInfo = (params) => post("/risk/govern/getGovernBaseInfo", params); //获取基础信息
export const getStatusCount = (params) => post("/risk/govern/getStatusCount", params); //获取治理状态数量
export const getOrderGovernList = (params) => get("/risk/work/orderListByRiskId", params); //获取风险数据治理记录
export const getAnalysisSamplesApi = (params) => post("/risk/work/getAnalysisSamples", params); //查看识别样例
export const batchEditGovernorAndUpdateStatusApi = (params) =>
  post("/risk/govern/batchEditGovernorAndUpdateStatus", params); //批量转治理

export const sampleDetailApi = (params) => post("/risk/asset/detail/sample/detail", params); //查看识别样例详情
export const sampleListApi = (params) => post("/risk/asset/detail/sample/list", params); //查看识别样例列表
